package ipgather.entity;

import java.io.Serializable;

/**
 * @author huanlai
 *
 */
public class Host implements Serializable {

	private static final long serialVersionUID = 7878982185507996372L;

	private Boolean dis;
	private String hn;// 主机地址
	private int p;// 端口

	public Host() {
	}

	public Host(String hostName, int port) {
		this.hn = hostName;
		this.p = port;
	}

	public Boolean getDis() {
		return dis;
	}

	public void setDis(Boolean dis) {
		this.dis = dis;
	}

	public String getHn() {
		return hn;
	}

	public void setHn(String hn) {
		this.hn = hn;
	}

	public int getP() {
		return p;
	}

	public void setP(int p) {
		this.p = p;
	}

}
